//Some useful type definitions
#ifndef _UINT_H_INCLUDED_
#define _UINT_H_INCLUDED_

#ifndef MAX_INT
#define MAX_INT 0xFFFFFFFF
#endif

#ifndef MAX_INT64
#define MAX_INT64 0xFFFFFFFFFFFFFFFFLL
#endif

#ifndef int8
#define int8 char
#define int16 short
#define int32 int
#define int64 long long

#define uint8 unsigned int8
#define uint16 unsigned int16
#define uint32 unsigned int32
#define uint64 unsigned int64
#endif

#ifndef u8
#define s8 int8
#define s16 int16
#define s32 int32
#define s64 int64

#define u8 uint8
#define u16 uint16
#define u32 uint32
#define u64 uint64
#endif
#endif //_UINT_H_INCLUDED_
